import { useState } from 'react'
import './App.css'
import { Outlet } from "react-router-dom"
import {NavLink} from 'react-router-dom'
import Home from "../src/views/home/home"
import Login from './views/login/login'
import zuce from './views/zuce/zuce'
import Shopcar from './views/shopcar/shopcar'
function App() {
  const [count, setCount] = useState(0)

  return (
    <div className="App">
      <NavLink to="/Home">首页</NavLink>|
      <NavLink to="/login">登录</NavLink>|
      <NavLink to="/zuce">注册</NavLink>|
      <NavLink to="/shopcar">购物车</NavLink>

      {/* 路由出口 */}
     <Outlet></Outlet>
    </div>
  )
}

export default App
